﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using Styx.Helpers;

namespace RoutesAutomator
{
    public class Utility
    {
        static public void Write(string value)
        {
            Logging.Write(Constants.LogColor, Constants.LogPrefixValue + value);
        }

        static public void Write(Color color, string value)
        {
            Logging.Write(color, Constants.LogPrefixValue + value);
        }

        static public void Write(string format, params object[] args)
        {
            Logging.Write(Constants.LogColor, Constants.LogPrefixValue + format, args);
        }

        static public void Write(Color color, string format, params object[] args)
        {
            Logging.Write(color, Constants.LogPrefixValue + format, args);
        }


        static public void WriteDebug(string value)
        {
            Logging.WriteDebug(Constants.DebugLogColor, Constants.LogPrefixValue + value);
        }

        static public void WriteDebug(Color color, string value)
        {
            Logging.WriteDebug(color, Constants.LogPrefixValue + value);
        }

        static public void WriteDebug(string format, params object[] args)
        {
            Logging.WriteDebug(Constants.DebugLogColor, Constants.LogPrefixValue + format, args);
        }

        static public void WriteDebug(Color color, string format, params object[] args)
        {
            Logging.WriteDebug(color, Constants.LogPrefixValue + format, args);
        }

    }
}